
<form nz-form #validateForm="ngForm" (ngSubmit)="submitForm()" nzLayout="horizontal" autocomplete="off">
    <!-- 模态框头部 -->
    <div class="modal-header">
        <div class="modal-title">
            <i class="iconfont icon-medicine-box mr-sm"></i>
            <span *ngIf="entity.id">{{l('Edit')}}</span>
            <span *ngIf="!entity.id">{{l('Create')}}</span>
        </div>
    </div>
    <!-- 模态框内容 -->
    <fieldset>
        <!-- 提示信息 -->
        <!-- <nz-alert nzType="info" nzCloseable [nzShowIcon]="true" nzMessage="l('我想提示点什么内容给你说')"></nz-alert> -->
                   <!-- NickName : NickName 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="nickName">  
                            {{l('Student_StudentNickName')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <input nz-input name="nickName" #nickName="ngModel"
                                       [(ngModel)]="entity.nickName"
                                      [placeholder]="l('Student_StudentNickNameInputDesc')" >


                    </nz-form-control>
             
                </nz-form-item>
                <!--NickName : NickName 的控件范围结束=END= -->
                   <!-- Phone : Phone 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="phone">  
                            {{l('Student_StudentPhone')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <input nz-input name="phone" #phone="ngModel"
                                       [(ngModel)]="entity.phone"
                                      [placeholder]="l('Student_StudentPhoneInputDesc')" >


                    </nz-form-control>
             
                </nz-form-item>
                <!--Phone : Phone 的控件范围结束=END= -->
                   <!-- Email : Email 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="email">  
                            {{l('Student_StudentEmail')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <input nz-input name="email" #email="ngModel"
                                       [(ngModel)]="entity.email"
                                      [placeholder]="l('Student_StudentEmailInputDesc')" >


                    </nz-form-control>
             
                </nz-form-item>
                <!--Email : Email 的控件范围结束=END= -->
                   <!-- WeixinOpenId : WeixinOpenId 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="weixinOpenId">  
                            {{l('Student_StudentWeixinOpenId')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <input nz-input name="weixinOpenId" #weixinOpenId="ngModel"
                                       [(ngModel)]="entity.weixinOpenId"
                                      [placeholder]="l('Student_StudentWeixinOpenIdInputDesc')" >


                    </nz-form-control>
             
                </nz-form-item>
                <!--WeixinOpenId : WeixinOpenId 的控件范围结束=END= -->
                   <!-- Birthday : Birthday 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="birthday">  
                            {{l('Birthday')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <app-date-picker nzShowTime
                                                 [nzFormat]="yyyy-MM-dd HH:mm:ss"
                                                 [nzPlaceHolder]="l('PleaseSelectTime')"
                                                 name="birthday"
                                                 #birthday="ngModel"
                                                 [(ngModel)]="entity.birthday"></app-date-picker>


                    </nz-form-control>
             
                </nz-form-item>
                <!--Birthday : Birthday 的控件范围结束=END= -->
                   <!-- Status : Status 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="status">  
                            {{l('Status')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <nz-input-number
                                    name="status" #status="ngModel"
                                    [(ngModel)]="entity.status"
                                    [nzMin]="0"
                                    [nzMax]="1000000"
                                    [nzStep]="1"
                                ></nz-input-number>


                    </nz-form-control>
             
                </nz-form-item>
                <!--Status : Status 的控件范围结束=END= -->
                   <!-- Sex : Sex 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="sex">  
                            {{l('Sex')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <nz-input-number
                                    name="sex" #sex="ngModel"
                                    [(ngModel)]="entity.sex"
                                    [nzMin]="0"
                                    [nzMax]="1000000"
                                    [nzStep]="1"
                                ></nz-input-number>


                    </nz-form-control>
             
                </nz-form-item>
                <!--Sex : Sex 的控件范围结束=END= -->
                   <!-- LastLoginDate : LastLoginDate 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="lastLoginDate">  
                            {{l('LastLoginDate')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <app-date-picker nzShowTime
                                                 [nzFormat]="yyyy-MM-dd HH:mm:ss"
                                                 [nzPlaceHolder]="l('PleaseSelectTime')"
                                                 name="lastLoginDate"
                                                 #lastLoginDate="ngModel"
                                                 [(ngModel)]="entity.lastLoginDate"></app-date-picker>


                    </nz-form-control>
             
                </nz-form-item>
                <!--LastLoginDate : LastLoginDate 的控件范围结束=END= -->
                   <!-- HeadImage : HeadImage 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="headImage">  
                            {{l('Student_StudentHeadImage')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <input nz-input name="headImage" #headImage="ngModel"
                                       [(ngModel)]="entity.headImage"
                                      [placeholder]="l('Student_StudentHeadImageInputDesc')" >


                    </nz-form-control>
             
                </nz-form-item>
                <!--HeadImage : HeadImage 的控件范围结束=END= -->
                   <!-- Signature : Signature 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="signature">  
                            {{l('Student_StudentSignature')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <input nz-input name="signature" #signature="ngModel"
                                       [(ngModel)]="entity.signature"
                                      [placeholder]="l('Student_StudentSignatureInputDesc')" >


                    </nz-form-control>
             
                </nz-form-item>
                <!--Signature : Signature 的控件范围结束=END= -->
                   <!-- Remark : Remark 的控件范围=Start= -->
                <nz-form-item nz-row>
                        <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="remark">  
                            {{l('Student_StudentRemark')}}
                            </nz-form-label>
                    <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                        <!--  控件位置 -->
                                <input nz-input name="remark" #remark="ngModel"
                                       [(ngModel)]="entity.remark"
                                      [placeholder]="l('Student_StudentRemarkInputDesc')" >


                    </nz-form-control>
             
                </nz-form-item>
                <!--Remark : Remark 的控件范围结束=END= -->

    </fieldset>
    <!-- 模态框底部 -->
    <div class="modal-footer">
        <button nz-button [nzType]="'default'" type="button" (click)="close()" [disabled]="saving">
            <i class="iconfont icon-close-circle"></i> {{l("Cancel")}}
        </button>
        <button nz-button [nzType]="'primary'" type="submit" [disabled]="!validateForm.form.valid|| saving" [nzLoading]="saving">
            <i class="iconfont icon-save" *ngIf="!saving"></i> {{l("Save")}}
        </button>
    </div>
</form>